const optionDeptPerson = {
  state: {
    // 公司
    optionDept: null,
    // 人
    optionPerson: null,
    // 部门
    optionDept1: null,
		// 选择的其他人
		optionPerson2: null
  },

  mutations: {
    setOptionDept: (state, newData) => {
      state.optionDept = newData
    },
    setOptionPerson: (state, newData) => {
      state.optionPerson = newData
    },
		setOptionPerson2: (state, newData) => {
		  state.optionPerson2 = newData
		},
    setOptionDept1: (state, newData) => {
      state.optionDept1 = newData
    },
    clearOptionDept: (state) => {
      state.optionDept = null
    },
    clearOptionPerson: (state) => {
      state.optionPerson = null
    },
    clearOptionDept1: (state ) => {
      state.optionDept1 = null
    },
  },

  actions: {},
}

export default optionDeptPerson
